package com.cl.short_video_java.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @Author 付
 * @Date 2024-11-01 18:00
 * @Version 1.0
 * @description
 * @since 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Login implements Serializable {
	@NotEmpty(message = "账号不能为空")
	private String username;
	@NotEmpty(message = "密码不能为空")
	private String password;
	private String uuid;
	@NotEmpty(message = "验证码不能为空")
	private String code;
	// 前台-1，后台-0
	private Integer type;
}
